package com.woniuxy.project115.kaer.tenant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.project115.kaer.tenant.dto.TenantStoreDto;
import com.woniuxy.project115.kaer.tenant.entity.TenantStore;
import com.woniuxy.project115.kaer.tenant.param.UpdateStoreInfoParam;
import com.woniuxy.project115.kaer.tenant.param.UserSearchParam;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuH
 * @since 2025年02月17日
 */
@Service
public interface TenantStoreService extends IService<TenantStore> {
    void updateScores();

    TenantStore getStoreInfo(Integer tenantInfoId) throws Exception;

    void updateStoreInfo(UpdateStoreInfoParam param, Integer tenantInfoId) throws Exception;

    Page<TenantStoreDto> userSearch(UserSearchParam param) throws Exception;

    void startAndEndBusiness(Integer storeId) throws Exception;
}